<!DOCTYPE html>
<html lang="en"  xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
v2
<hr>
name:<span sec:authentication="name"></span>
<br>
auth:
<span sec:authentication="principal.authorities"></span>
</body>
</html>